[INFO] cloning repository https://github.com/louisch/euler-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/louisch/euler-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flouisch%2Feuler-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flouisch%2Feuler-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ae1cdc3974bba5f22cbc1026f8bc9ec0ffb2bab2
[INFO] checking louisch/euler-rust against try#72f88fc4e9458f89516a0b8b0868f3718aec5b47 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flouisch%2Feuler-rust" "/workspace/builds/worker-6/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/louisch/euler-rust on toolchain 72f88fc4e9458f89516a0b8b0868f3718aec5b47
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/louisch/euler-rust
[INFO] finished tweaking git repo https://github.com/louisch/euler-rust
[INFO] tweaked toml for git repo https://github.com/louisch/euler-rust written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/louisch/euler-rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] error: the lock file /workspace/builds/worker-6/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 23facdf46131f1b5867fa4ede58d0319de4d4c56c1dbb731122be462b4953532
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "23facdf46131f1b5867fa4ede58d0319de4d4c56c1dbb731122be462b4953532", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "23facdf46131f1b5867fa4ede58d0319de4d4c56c1dbb731122be462b4953532", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "23facdf46131f1b5867fa4ede58d0319de4d4c56c1dbb731122be462b4953532", kill_on_drop: false }`
[INFO] [stdout] 23facdf46131f1b5867fa4ede58d0319de4d4c56c1dbb731122be462b4953532
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] eb921472e8924e0e5ae857fa5b2ad4118d82d059fa6ca9cc407fe9a52d685985
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "eb921472e8924e0e5ae857fa5b2ad4118d82d059fa6ca9cc407fe9a52d685985", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]     Checking unicode-segmentation v0.1.3
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]    Compiling num-bigint v0.3.0
[INFO] [stderr]    Compiling num-rational v0.3.0
[INFO] [stderr]    Compiling num-iter v0.1.41
[INFO] [stderr]     Checking num-complex v0.3.0
[INFO] [stderr]     Checking num v0.3.0
[INFO] [stderr]     Checking euler-rust v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find function `repeat` in this scope
[INFO] [stdout]   --> src/math/primes.rs:68:24
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let mut is_prime = repeat(true).take(n as usize).collect::<Vec<bool>>();
[INFO] [stdout]    |                        ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::io::repeat;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::iter::repeat;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `prime` in this scope
[INFO] [stdout]   --> src/math/primes.rs:76:6
[INFO] [stdout]    |
[INFO] [stdout] 76 |     (prime, is_primes)
[INFO] [stdout]    |      ^^^^^ help: a local variable with a similar name exists: `primes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `is_primes` in this scope
[INFO] [stdout]   --> src/math/primes.rs:76:13
[INFO] [stdout]    |
[INFO] [stdout] 76 |     (prime, is_primes)
[INFO] [stdout]    |             ^^^^^^^^^ help: a local variable with a similar name exists: `is_prime`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter::repeat`
[INFO] [stdout]   --> src/math/primes.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |     use std::iter::repeat;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/prob1/solver.rs:2:31
[INFO] [stdout]   |
[INFO] [stdout] 2 |     fn sequence(&self) -> Box<Iterator<Item=u32>>;
[INFO] [stdout]   |                               ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator<Item=u32>`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/prob1/brute_force.rs:14:31
[INFO] [stdout]    |
[INFO] [stdout] 14 |     fn sequence(&self) -> Box<Iterator<Item=u32>> {
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator<Item=u32>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `repeat` in this scope
[INFO] [stdout]   --> src/math/primes.rs:68:24
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let mut is_prime = repeat(true).take(n as usize).collect::<Vec<bool>>();
[INFO] [stdout]    |                        ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::io::repeat;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use std::iter::repeat;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `prime` in this scope
[INFO] [stdout]   --> src/math/primes.rs:76:6
[INFO] [stdout]    |
[INFO] [stdout] 76 |     (prime, is_primes)
[INFO] [stdout]    |      ^^^^^ help: a local variable with a similar name exists: `primes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `is_primes` in this scope
[INFO] [stdout]   --> src/math/primes.rs:76:13
[INFO] [stdout]    |
[INFO] [stdout] 76 |     (prime, is_primes)
[INFO] [stdout]    |             ^^^^^^^^^ help: a local variable with a similar name exists: `is_prime`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::iter::repeat`
[INFO] [stdout]   --> src/math/primes.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |     use std::iter::repeat;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/prob1/solver.rs:2:31
[INFO] [stdout]   |
[INFO] [stdout] 2 |     fn sequence(&self) -> Box<Iterator<Item=u32>>;
[INFO] [stdout]   |                               ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator<Item=u32>`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/prob1/brute_force.rs:14:31
[INFO] [stdout]    |
[INFO] [stdout] 14 |     fn sequence(&self) -> Box<Iterator<Item=u32>> {
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Iterator<Item=u32>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/math/primes.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub fn primes(n: u64) -> Vec<u64> {
[INFO] [stdout]    | --------------------------------- fn(u64) -> Vec<u64> {primes} defined here
[INFO] [stdout] ...
[INFO] [stdout] 54 | pub fn primes_below(n: u64) -> Vec<u64> {
[INFO] [stdout]    |                                -------- expected `Vec<u64>` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 63 |     primes
[INFO] [stdout]    |     ^^^^^^ expected struct `Vec`, found fn item
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Vec<u64>`
[INFO] [stdout]              found fn item `fn(u64) -> Vec<u64> {primes}`
[INFO] [stdout] help: use parentheses to call this function
[INFO] [stdout]    |
[INFO] [stdout] 63 |     primes(n)
[INFO] [stdout]    |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/math/primes.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub fn primes(n: u64) -> Vec<u64> {
[INFO] [stdout]    | --------------------------------- fn(u64) -> Vec<u64> {primes} defined here
[INFO] [stdout] ...
[INFO] [stdout] 54 | pub fn primes_below(n: u64) -> Vec<u64> {
[INFO] [stdout]    |                                -------- expected `Vec<u64>` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 63 |     primes
[INFO] [stdout]    |     ^^^^^^ expected struct `Vec`, found fn item
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Vec<u64>`
[INFO] [stdout]              found fn item `fn(u64) -> Vec<u64> {primes}`
[INFO] [stdout] help: use parentheses to call this function
[INFO] [stdout]    |
[INFO] [stdout] 63 |     primes(n)
[INFO] [stdout]    |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `euler-rust`.
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] 
[INFO] [stderr] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425.
[INFO] [stdout] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "eb921472e8924e0e5ae857fa5b2ad4118d82d059fa6ca9cc407fe9a52d685985", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eb921472e8924e0e5ae857fa5b2ad4118d82d059fa6ca9cc407fe9a52d685985", kill_on_drop: false }`
[INFO] [stdout] eb921472e8924e0e5ae857fa5b2ad4118d82d059fa6ca9cc407fe9a52d685985
